<template>
  <div>
    <el-container class="container">
    <el-aside width="210px">
        <Aside></Aside>
    </el-aside>
    <el-container class="right">
        <el-header>
            <Header></Header>
        </el-header>
        <el-main>
            <router-view></router-view>
        </el-main>
        <el-footer>
            <Footer></Footer>
        </el-footer>
    </el-container>
    </el-container>
  </div>
</template>

<script>
import Aside from "./Index/components/Aside.vue"
import Header from "./Index/components/Header.vue"
import Footer from "./Index/components/Footer.vue"

export default {
    components:{
        Aside,
        Header,
        Footer,
    }
}
</script>

<style lang="less" >
  .el-footer{
    background-color: #f5f6fa;
    color: #333;
    text-align: center;
    line-height: 60px;
    border-radius: 15px;

  }
  .el-header{
    background-color: #f5f6fa;
    color: #333;
    text-align: center;
    line-height: 60px;
    border-radius: 15px;
    margin-bottom: 5px;

  }
  .el-aside {
    background-color: #41b581;
    color: #333;
    border-radius: 15px;
    margin-right: 5px;
    /* text-align: center; */
    height: 700px;
  }
  
  .el-main {
    background-color: #f5f6fa;
    color: #333;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 5px;
    height: 540px;
  }
</style>